bitops: rename LOG_2 to ilog2
authorSameer Goel <sameer.goel@linaro.org>
Tue, 13 Feb 2018 16:56:42 +0000 (17:56 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 13 Feb 2018 16:56:42 +0000 (17:56 +0100)
commit3f491d6873be9caa77f02ad8d98f174f0152b819
tree5ab788afd110d0a24dfd9bacf530f7e14680b25e
parent5b46dad09daca14bcadec8808e1c6c86d0a159d3
bitops: rename LOG_2 to ilog2

Changing the name of the macro from LOG_2 to ilog2.This makes the function name
similar to its Linux counterpart. Since, this is not used in multiple places,
the code churn is minimal.

This change helps in porting unchanged code from Linux.

Signed-off-by: Sameer Goel <sameer.goel@linaro.org>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/x86_64/asm-offsets.c
xen/include/xen/bitops.h